package org.linlinjava.litemall.admin.vo.online_service;

import io.swagger.models.auth.In;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author wj
 * @date 2021/8/10 11:40
 */
public class AddDoctorVo {

    @NotNull(message = "医生名称不能为空")
    @Length(max = 8,message = "医生名称过长")
    private String doctorName;

    @NotNull(message = "医院名称不能为空")
    @Length(max = 40,message = "医院名称过长")
    private String hospital;

    @NotNull(message = "科室不能为空")
    private Integer department;


    private Integer serviceTime;

    private Integer doctorId;

    @NotBlank(message = "手机号码不能为空")
    @Length(min = 11,max = 11,message = "手机号码长度不正确")
    @Pattern(regexp = "^(((13[0-9])|(14[579])|(15([0-3]|[5-9]))|(16[6])|(17[0135678])|(18[0-9])|(19[89]))\\d{8})$", message = "手机号格式错误")
    private String phone;


    @NotBlank(message = "服务城市不能为空")
    private String serviceId;

    @NotNull(message = "店铺id不能为空")
    private Integer shopId;

    @NotBlank(message = "群聊名称不能为空")
    private String groupName;

    @NotBlank(message = "群主不能为空")
    private String groupManager;

    @NotBlank(message = "医生企业微信不能为空")
    private String staffWechatName;

    @NotBlank(message = "群成员不能为空")
    private String groupMembers;


    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getGroupManager() {
        return groupManager;
    }

    public void setGroupManager(String groupManager) {
        this.groupManager = groupManager;
    }

    public String getStaffWechatName() {
        return staffWechatName;
    }

    public void setStaffWechatName(String staffWechatName) {
        this.staffWechatName = staffWechatName;
    }

    public String getGroupMembers() {
        return groupMembers;
    }

    public void setGroupMembers(String groupMembers) {
        this.groupMembers = groupMembers;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getHospital() {
        return hospital;
    }

    public void setHospital(String hospital) {
        this.hospital = hospital;
    }

    public Integer getDepartment() {
        return department;
    }

    public void setDepartment(Integer department) {
        this.department = department;
    }

    public Integer getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(Integer serviceTime) {
        this.serviceTime = serviceTime;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
